File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ option(OPT_DEBUG "Sets debug compiler flags" OFF)
5
5
option (OPT_OPTIMIZE "Sets optimize compiler flags" ON )
6
6
option (OPT_PROFILE "Sets profile compiler flags" OFF )
7
7
option (OPT_USE_BOOST_THREAD "Uses boost thread instead of C++11 threads" OFF )
8
- option (OPT_SKIP_TESTS "Skip compiling the boost unittests" OFF )
9
- option (OPT_LINK_DEPS_STATICALLY "Links all dependencies (libpng, libjpeg, boost...) statically" OFF )
10
- option (OPT_LINK_BOOST_STATICALLY "Links boost statically" OFF )
8
+ option (OPT_SKIP_TESTS "Skip compiling the boost unittests" ON )
9
+ option (OPT_LINK_DEPS_STATICALLY "Links all dependencies (libpng, libjpeg, boost...) statically" ON )
10
+ option (OPT_LINK_BOOST_STATICALLY "Links boost statically" ON )
11
11
option (OPT_BOOST_STATIC "Links boost statically (deprecated, use OPT_LINK_BOOST_STATICALLY)" OFF )
12
12
option (OPT_INSTALL_HEADERS "Installs libmapcraftercore header files" ON )
13
13
Original file line number Diff line number Diff line change 1
1
INCLUDE (CheckCXXSourceCompiles )
2
- set (CMAKE_REQUIRED_FLAGS -std=c++0x )
2
+ SET (CMAKE_REQUIRED_FLAGS -std=c++0x )
3
+
4
+ SET (CMAKE_MACOSX_RPATH TRUE )
5
+ SET (CMAKE_SKIP_BUILD_RPATH FALSE )
6
+ SET (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE )
7
+ SET (CMAKE_INSTALL_RPATH "abcd" )
8
+ SET (CMAKE_INSTALL_NAME_DIR "defg" )
9
+ SET (CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE )
10
+
11
+ SET (CMAKE_BUILD_WITH_INSTALL_RPATH ON )
3
12
CHECK_CXX_SOURCE_COMPILES ("int main() { void* p = nullptr; }" HAVE_NULLPTR )
4
13
CHECK_CXX_SOURCE_COMPILES ("enum class Test { A=0, B=1, C=3 }; int main() { Test::A < Test::C; }" HAVE_ENUM_CLASS_COMPARISON )
5
14
CHECK_CXX_SOURCE_COMPILES ("enum class Test; enum class Test { A, B }; int main() { Test::A == Test::B; }" HAVE_ENUM_CLASS_FORWARD_DECLARATION )
You can’t perform that action at this time.
0 commit comments