Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
partons
core
partons-example
Commits
257d5ab9
Commit
257d5ab9
authored
Oct 24, 2017
by
Pawel Sznajder
Browse files
Add SFML dependency - without that I was not able to compile standalone
parent
5c6d0401
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
257d5ab9
...
...
@@ -29,6 +29,9 @@ add_definitions(${QT_DEFINITIONS})
# find libraries: additional modules
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_SOURCE_DIR
}
/cmake/Modules/"
)
# find libraries: SFML
find_package
(
SFML COMPONENTS system REQUIRED
)
# find libraries: ElementaryUtils
find_package
(
ElementaryUtils REQUIRED
)
...
...
@@ -39,7 +42,7 @@ find_package(NumA++ REQUIRED)
find_package
(
PARTONS REQUIRED
)
# directories containing headers
include_directories
(
${
QT_INCLUDE_DIRS
}
${
ELEMENTARY_UTILS_INCLUDE_DIR
}
${
NUMA_INCLUDE_DIR
}
${
PARTONS_INCLUDE_DIR
}
)
include_directories
(
${
QT_INCLUDE_DIRS
}
${
SFML_INCLUDE_DIR
}
${
ELEMENTARY_UTILS_INCLUDE_DIR
}
${
NUMA_INCLUDE_DIR
}
${
PARTONS_INCLUDE_DIR
}
)
# FINALIZE ==================================================================================
...
...
@@ -70,9 +73,11 @@ target_link_libraries(
${
QT_LIBRARIES
}
${
SFML_LIBRARIES
}
${
ELEMENTARY_UTILS_LIBRARIES
}
${
NUMA_LIBRARIES
}
${
PARTONS_LIBRARIES
}
)
\ No newline at end of file
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment