CMake: Fix typo... s/USE_PIC/WITH_PIC/
This commit is contained in:
parent
0f1aaa474a
commit
eed170f852
@ -29,7 +29,7 @@ if(NOT glfw3_FOUND)
|
||||
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL " " FORCE)
|
||||
set(GLFW_USE_WAYLAND ${USE_WAYLAND} CACHE BOOL "" FORCE)
|
||||
if (USE_PIC OR SHARED)
|
||||
if (WITH_PIC OR SHARED)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user