Skip to content

Instantly share code, notes, and snippets.

@benoitrosa
Created November 17, 2017 09:31
Show Gist options
  • Save benoitrosa/8a20d0067efd863780b39726fbc1eb5a to your computer and use it in GitHub Desktop.
Save benoitrosa/8a20d0067efd863780b39726fbc1eb5a to your computer and use it in GitHub Desktop.
CMakeLists MTF using config
cmake_minimum_required(VERSION 2.8)
include(mtfConfig.cmake)
include_directories(${MTF_INCLUDE_DIRS})
add_definitions(${MTF_CXX_FLAGS})
add_executable(test_MTF test_MTF.cpp)
target_compile_definitions(test_MTF PUBLIC ${MTF_DEFS})
target_link_libraries(test_MTF ${MTF_LIBRARIES})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment