summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-24 02:18:47 +0100
committerGitHub <noreply@github.com>2020-01-24 02:18:47 +0100
commitdeb97f6a8e48c17f8e16efadc24872a860d529a7 (patch)
tree79ca6164fcb03783bc19f1ec557cacdf0b3fc539 /CMakeLists.txt
parentMerge pull request #3341 from bunnei/time-posix-myrule (diff)
parentReplace GetString with Get function (diff)
downloadyuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar.gz
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar.bz2
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar.lz
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar.xz
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.tar.zst
yuzu-deb97f6a8e48c17f8e16efadc24872a860d529a7.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 118572c03..dc782e252 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -350,6 +350,13 @@ function(create_target_directory_groups target_name)
endforeach()
endfunction()
+# Prevent boost from linking against libs when building
+add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY
+ -DBOOST_SYSTEM_NO_LIB
+ -DBOOST_DATE_TIME_NO_LIB
+ -DBOOST_REGEX_NO_LIB
+)
+
enable_testing()
add_subdirectory(externals)
add_subdirectory(src)