Skip to content

Commit

Permalink
Simplify handling of xml module
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed Mar 4, 2020
1 parent d95e1ef commit 7baf850
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ 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 AND NOT MSVC)
list(APPEND coda_modules numpyutils-c++)
Expand All @@ -32,9 +33,6 @@ foreach(module ${coda_modules})
add_coda_module(${module})
endforeach()

add_coda_module(xerces-c)
target_link_libraries(xml.lite-c++ INTERFACE xerces-c)

add_library(coda_oss_config INTERFACE)
target_include_directories(coda_oss_config INTERFACE ${CODA_DIR}/target/moudules/c++/config/include/)
add_dependencies(coda_oss_config coda-oss)
Expand Down

0 comments on commit 7baf850

Please sign in to comment.