summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnonymous Maarten <anonymous.maarten@gmail.com>2021-01-03 20:38:53 +0100
committershfil <filip.gawin@zoho.com>2021-01-11 11:24:25 +0100
commit6b8374f391dc4c56682cae44d142bc81d52de062 (patch)
tree94f83d4e7d830924e889bcef26e04562c6a4d85e /src
parentcmake: add resource (settings windows icon) (diff)
downloadre3-6b8374f391dc4c56682cae44d142bc81d52de062.tar
re3-6b8374f391dc4c56682cae44d142bc81d52de062.tar.gz
re3-6b8374f391dc4c56682cae44d142bc81d52de062.tar.bz2
re3-6b8374f391dc4c56682cae44d142bc81d52de062.tar.lz
re3-6b8374f391dc4c56682cae44d142bc81d52de062.tar.xz
re3-6b8374f391dc4c56682cae44d142bc81d52de062.tar.zst
re3-6b8374f391dc4c56682cae44d142bc81d52de062.zip
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2710b5a5..a2052471 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -83,20 +83,20 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang
target_compile_options(re3
PRIVATE
"-Wall"
- )
+ )
if (NOT LIBRW_PLATFORM_PS2)
target_compile_options(re3
PRIVATE
-Wextra
-Wdouble-promotion
-Wpedantic
- )
+ )
endif()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_compile_options(re3
PUBLIC
/Zc:sizedDealloc-
- )
+ )
endif()
set_target_properties(re3
@@ -107,14 +107,12 @@ set_target_properties(re3
CXX_STANDARD 11
CXX_EXTENSIONS OFF
CXX_STANDARD_REQUIRED ON
- )
+)
if(RE3_INSTALL)
install(
TARGETS re3
EXPORT re3-targets
- RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
- LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
- )
+ RUNTIME DESTINATION "."
+ )
endif()