Commit d8f05ff5 authored by Pawel Sznajder's avatar Pawel Sznajder
Browse files

Cosmetics in CmakeLists

parent 6f1ea5bf
......@@ -16,7 +16,6 @@ set(CMAKE_AUTOMOC ON)
# as moc files are generated in the binary dir, tell cmake to always look for includes there
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
# FIND LIBRARIES ===========================================================================
......@@ -33,7 +32,7 @@ find_package(Eigen3 REQUIRED)
find_package(ElementaryUtils REQUIRED)
# directories containing headers
include_directories(${SFML_INCLUDE_DIR} ${ELEMENTARY_UTILS_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR})
include_directories(${SFML_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR} ${ELEMENTARY_UTILS_INCLUDE_DIR})
include_directories(include)
# FINALIZE ==================================================================================
......@@ -49,6 +48,8 @@ file(
)
# define target library
set(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/lib)
add_library(
NumA++
......@@ -63,10 +64,9 @@ target_link_libraries(
NumA++
${ELEMENTARY_UTILS_LIBRARIES}
${SFML_LIBRARIES}
${SFML_LIBRARIES}
${ELEMENTARY_UTILS_LIBRARIES}
)
# install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment