Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KiT-RT
KiT-RT
Commits
a202beb4
Commit
a202beb4
authored
Apr 11, 2020
by
Jannick Wolters
Browse files
fixed header include to work with ninja
parent
df41757e
Pipeline
#81994
passed with stages
in 6 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
code/CMakeLists.txt
View file @
a202beb4
...
...
@@ -10,8 +10,9 @@ set( CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0 -g -Wall -Werror" )
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
"
${
CMAKE_SOURCE_DIR
}
/bin"
)
file
(
GLOB_RECURSE SRCS RELATIVE
${
CMAKE_SOURCE_DIR
}
"src/*.cpp"
"include/*.h"
)
include_directories
(
${
CMAKE_SOURCE_DIR
}
/include
)
add_executable
(
${
CMAKE_PROJECT_NAME
}
${
SRCS
}
)
target_include_directories
(
${
CMAKE_PROJECT_NAME
}
PRIVATE
${
CMAKE_SOURCE_DIR
}
/include
)
find_package
(
OpenMP REQUIRED
)
if
(
OPENMP_FOUND
)
...
...
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