Properly link flecs library
This commit is contained in:
13
engine/libs/flecs/examples/build/cmake/CMakeLists.txt
Normal file
13
engine/libs/flecs/examples/build/cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
cmake_minimum_required (VERSION 2.8.7)
|
||||
|
||||
project (cmake_example)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
add_subdirectory (flecs)
|
||||
|
||||
add_executable(cmake_example main.cpp)
|
||||
add_executable(cmake_example_static main.cpp)
|
||||
|
||||
target_link_libraries(cmake_example flecs)
|
||||
target_link_libraries(cmake_example_static flecs_static)
|
||||
Reference in New Issue
Block a user