CMake: Fix typo... s/USE_PIC/WITH_PIC/

This commit is contained in:
Ahmad Fatoum 2018-05-12 18:51:26 +02:00
parent 0f1aaa474a
commit eed170f852
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B
1 changed files with 1 additions and 1 deletions

View File

@ -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()