mirror of https://github.com/GTAmodding/re3.git
(reVC) link X11 library on Linux
This commit is contained in:
parent
6a56e98e69
commit
0cf98fa028
|
@ -113,6 +113,12 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang
|
|||
-Wpedantic
|
||||
)
|
||||
endif()
|
||||
if (NOT WIN32 AND NOT APPLE)
|
||||
target_link_libraries(${EXECUTABLE}
|
||||
PRIVATE
|
||||
X11
|
||||
)
|
||||
endif()
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||
target_compile_options(${EXECUTABLE}
|
||||
PUBLIC
|
||||
|
|
Loading…
Reference in New Issue