glew-cmake/build/conan/test_package/CMakeLists.txt

10 lines
359 B
CMake
Raw Normal View History

2017-06-25 18:15:34 +00:00
project(GlewTest)
cmake_minimum_required(VERSION 3.0.0)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_executable(testGlew main.c)
2017-07-26 03:35:34 +00:00
target_compile_definitions(testGlew PUBLIC "${CONAN_DEFINES}")
target_link_libraries(testGlew PUBLIC "${CONAN_LIBS}")
set_target_properties(testGlew PROPERTIES LINK_FLAGS "${CONAN_EXE_LINKER_FLAGS}")