[044716]: contrib / brl / b3p / expatpp / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    25 lines (17 with data), 664 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#This is brl/b3p/expatpp
INCLUDE( ${BRL_MODULE_PATH}/FindEXPAT.cmake )
IF( EXPAT_FOUND )
IF( VXL_USING_NATIVE_EXPAT )
INCLUDE_DIRECTORIES( ${EXPAT_INCLUDE_DIR} )
ELSE( VXL_USING_NATIVE_EXPAT )
INCLUDE_DIRECTORIES( ${BRL_BINARY_DIR}/b3p/expat )
ENDIF( VXL_USING_NATIVE_EXPAT )
SET( expatpp_sources expatpp.h expatpp.cpp expatpplib.h )
ADD_LIBRARY( expatpp ${expatpp_sources} )
TARGET_LINK_LIBRARIES( expatpp ${EXPAT_LIBRARIES} )
IF( BUILD_TESTING )
SUBDIRS(tests)
ENDIF( BUILD_TESTING )
INSTALL_TARGETS(/lib expatpp)
INSTALL_NOBASE_HEADER_FILES(/include/vxl/contrib/brl/b3p/expatpp/ ${expatpp_sources})
ENDIF( EXPAT_FOUND )