- Timestamp:
- 12/21/20 15:10:29 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19990 r20009 105 105 # handle success 106 106 FIND_PACKAGE_MESSAGE(NovaInc "Found Nova headers in ${NOVA_INCLUDE_DIR}" "[${NOVA_LIBRARY}][${NOVA_INCLUDE_DIR}]") 107 108 IF(NOT NOVA_FOUND) 109 MESSAGE(WARNING "You are compiling without support for libnova!") 110 ENDIF() 107 111 108 112 … … 387 391 INCLUDE_DIRECTORIES(${DIRECTORIES} mcore .) 388 392 389 ROOT_GENERATE_DICTIONARY(dictionary/Core 390 mcore/factofits.h 391 mcore/factfits.h 392 mcore/DrsCalib.h 393 mcore/PixelMap.h 394 mcore/Interpolator2D.h 395 mcore/nova.h 396 mcore/Prediction.h 397 MIncl.h 393 IF(NOVA_FOUND) 394 INCLUDE_DIRECTORIES(${NOVA_INCLUDE_DIR}) 395 ENDIF() 396 397 398 SET(CORE_HEADERS 399 mcore/factofits.h 400 mcore/factfits.h 401 mcore/DrsCalib.h 402 mcore/PixelMap.h 403 mcore/Interpolator2D.h 404 MIncl.h) 405 406 IF(NOVA_FOUND) 407 LIST(APPEND CORE_HEADERS mcore/nova.h mcore/Prediction.h) 408 ENDIF() 409 410 ROOT_GENERATE_DICTIONARY(dictionary/Core ${CORE_HEADERS} MIncl.h 398 411 LINKDEF MLinkDef.h 399 412 OPTIONS -p -D__MARS__ -DHAVE_ZLIB) … … 414 427 415 428 416 TARGET_LINK_LIBRARIES(mars 417 ZLIB::ZLIB 418 ${NOVA_LIBRARY}419 ${ROOT_LIBRARIES})429 TARGET_LINK_LIBRARIES(mars ZLIB::ZLIB ${ROOT_LIBRARIES}) 430 IF(NOVA_FOUND) 431 TARGET_LINK_LIBRARIES(mars ${NOVA_LIBRARY}) 432 ENDIF() 420 433 421 434 ADD_EXECUTABLE(showplot showplot.cc)
Note:
See TracChangeset
for help on using the changeset viewer.