CMake: Fix typo... s/USE_PIC/WITH_PIC/
This commit is contained in:
parent
0f1aaa474a
commit
eed170f852
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue