#----------------------------------------------------------------------------- # Search for bbtk FIND_PACKAGE(BBTK) # If found IF(BBTK_FOUND) # Include USE_FILE which configures the use of the lib INCLUDE(${BBTK_USE_FILE}) ENDIF(BBTK_FOUND) #----------------------------------------------------------------------------- #----------------------------------------------------------------------------- # Build the program # Usual add executable ADD_EXECUTABLE(OUTPUT main) # Link against the testLib libraries TARGET_LINK_LIBRARIES(OUTPUT ${BBTK_LIBRARIES}) #-----------------------------------------------------------------------------