summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-19 14:21:33 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-19 14:21:33 +0100
commitb6298915ddbdd2d66b807fc2c58d0c825bea0a96 (patch)
treee16891b3bd62f38bc959c295ebeca1aa6b9952d7
parentremoved renderer stuff (diff)
downloadre3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar.gz
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar.bz2
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar.lz
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar.xz
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.tar.zst
re3-b6298915ddbdd2d66b807fc2c58d0c825bea0a96.zip
Diffstat (limited to '')
-rw-r--r--src/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e3985365..e87878a8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,7 +1,7 @@
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
-if(${RE3_AUDIO} STREQUAL "OAL")
+if(${REVC_AUDIO} STREQUAL "OAL")
find_package(OpenAL REQUIRED)
find_package(MPG123 REQUIRED)
find_package(SndFile REQUIRED)
@@ -46,7 +46,7 @@ add_executable(reVC ${Sources})
target_link_libraries(reVC librw)
target_link_libraries(reVC Threads::Threads)
-if(${RE3_AUDIO} STREQUAL "OAL")
+if(${REVC_AUDIO} STREQUAL "OAL")
target_link_libraries(reVC ${OPENAL_LIBRARY})
target_link_libraries(reVC ${MPG123_LIBRARIES})
target_link_libraries(reVC ${SNDFILE_LIBRARIES})
@@ -61,7 +61,7 @@ target_compile_definitions(reVC
PRIVATE
"$<IF:$<CONFIG:DEBUG>,DEBUG,NDEBUG>"
PUBLIC
- "RW_${RE3_PLATFORM}"
+ "RW_${REVC_PLATFORM}"
)
target_compile_definitions(reVC PRIVATE LIBRW=1 AUDIO_OAL=1)
@@ -71,7 +71,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang
PRIVATE
"-Wall"
)
- if (NOT RE3_PLATFORM_PS2)
+ if (NOT REVC_PLATFORM_PS2)
target_compile_options(reVC
PRIVATE
"-Wextra"
@@ -97,10 +97,10 @@ set_target_properties(reVC
PREFIX ""
)
-if(RE3_INSTALL)
+if(REVC_INSTALL)
target_include_directories(reVC
INTERFACE
- $<INSTALL_INTERFACE:${RE3_INSTALL_INCLUDEDIR}>
+ $<INSTALL_INTERFACE:${REVC_INSTALL_INCLUDEDIR}>
)
install(