Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed Mar 3, 2020
1 parent d4cc2ac commit 465c4be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ if(PYTHON_HOME)
endif()

find_package(Python COMPONENTS Interpreter Development NumPy)
list(APPEND coda_modules except-c++ io-c++ sys-c++ mt-c++ str-c++ math-c++
xml.lite-c++ JPEG J2K)
list(APPEND coda_modules except-c++ io-c++ sys-c++ mt-c++ str-c++ math-c++ xml.lite-c++ JPEG J2K)

if (Python_NumPy_FOUND)
list(APPEND coda_modules numpyutils-c++)
Expand Down
4 changes: 1 addition & 3 deletions modules/python/nitf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ if (Python_FOUND)
SOURCES source/nitro.i)

target_include_directories(nitropy PRIVATE ${Python_INCLUDE_DIRS}
${Python_NumPy_INCLUDE_DIRS})
# ${NITRO_C_SOURCE_DIR}/nrt/include
# ${NITRO_C_SOURCE_DIR}/nitf/include)
${Python_NumPy_INCLUDE_DIRS})
target_link_libraries(nitropy nitf-c numpyutils-c++ sys-c++ except-c++ io-c++ str-c++)
install(TARGETS nitropy DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/site-packages/)
install(FILES source/__init__.py source/generated/nitropy.py
Expand Down

0 comments on commit 465c4be

Please sign in to comment.