mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
Conan package test cmakelists cleanup.
This commit is contained in:
parent
f8c6f9bffd
commit
1b1371ddcb
@ -3,11 +3,7 @@ cmake_minimum_required(VERSION 3.0.0)
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
|
||||
set(CMAKE_C_FLAGS "${CONAN_C_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS "${CONAN_CXX_FLAGS}")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CONAN_SHARED_LINKER_FLAGS}")
|
||||
|
||||
add_executable(testGlew main.c)
|
||||
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}")
|
||||
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}")
|
||||
|
Loading…
Reference in New Issue
Block a user