Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
pinocchio
Commits
d310ce08
Verified
Commit
d310ce08
authored
May 29, 2020
by
Justin Carpentier
Browse files
cmake: add NOMINMAX
parent
16961fe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
d310ce08
...
...
@@ -22,6 +22,9 @@ SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${PROJECT_VERSION})
IF
(
BUILD_WITH_COMMIT_VERSION
)
TAG_LIBRARY_VERSION
(
${
PROJECT_NAME
}
)
ENDIF
(
BUILD_WITH_COMMIT_VERSION
)
IF
(
WIN32
)
TARGET_COMPILE_DEFINITIONS
(
${
PROJECT_NAME
}
PRIVATE -DNOMINMAX
)
ENDIF
(
WIN32
)
TARGET_INCLUDE_DIRECTORIES
(
${
PROJECT_NAME
}
SYSTEM PUBLIC
${
EIGEN3_INCLUDE_DIRS
}
)
TARGET_LINK_LIBRARIES
(
${
PROJECT_NAME
}
PUBLIC
${
Boost_FILESYSTEM_LIBRARY
}
${
Boost_SYSTEM_LIBRARY
}
${
Boost_SERIALIZATION_LIBRARY
}
)
...
...
Write
Preview
Supports
Markdown
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