From b6298915ddbdd2d66b807fc2c58d0c825bea0a96 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 19 Dec 2020 16:21:33 +0300 Subject: fixed cmakelists --- src/CMakeLists.txt | 12 ++++++------ 1 file 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 "$,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( -- cgit v1.2.3