diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-29 19:34:01 +0200 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2015-04-29 19:34:01 +0200 |
| commit | 9fbd4e0fedea42a206843981dffeb87095797581 (patch) | |
| tree | 557c45099cb732ed298633d2a1a9e60bfe472998 /src/CMakeLists.txt | |
| parent | 674563203b5653238a2ae6ef4a0a267a7661607b (diff) | |
Enable cmake for model
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b30833e..a946644 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,9 +7,11 @@ add_executable( #Find all libraries find_package(SFML 2.2 COMPONENTS system window graphics audio REQUIRED) +set_property(GLOBAL PROPERTY SFML_LIBRARIES "${SFML_LIBRARIES}") +set_property(GLOBAL PROPERTY SFML_INCLUDE_DIR "${SFML_INCLUDE_DIR}") #Include "Includes" and "Libraries" include_directories(${SFML_INCLUDE_DIR}) target_link_libraries(2P11 ${SFML_LIBRARIES}) -message("${SFML_LIBRARIES}") +add_subdirectory(./Model) |
