all repos — mgba @ bc9fdc12497f0ed721fad8e7212925012659337a

mGBA Game Boy Advance Emulator

Fix *_LIBRARY into *_LIB
Jeffrey Pfau jeffrey@endrift.com
Fri, 31 Jan 2014 01:13:51 -0800
commit

bc9fdc12497f0ed721fad8e7212925012659337a

parent

4bc8f2eb1a5c8cf51d540786122150217574e3d8

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -24,7 +24,7 @@ file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/windows/*.c)

source_group("Windows-specific code" FILES ${OS_SRC}) else() add_definitions(-DUSE_PTHREADS) - set(OS_LIBRARY "${OS_LIBRARY};pthread") + set(OS_LIB "${OS_LIB};pthread") file(GLOB OS_SRC ${CMAKE_SOURCE_DIR}/src/platform/posix/*.c) source_group("POSIX-specific code" FILES ${OS_SRC}) endif()

@@ -49,9 +49,9 @@

if(BUILD_PERF) set(PERF_SRC ${CMAKE_SOURCE_DIR}/src/platform/perf-main.c) if(UNIX AND NOT APPLE) - set(PERF_LIB "$PERF_LIB};rt") + set(PERF_LIB "${PERF_LIB};rt") endif() add_executable(${BINARY_NAME}-perf ${PERF_SRC}) - target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIBRARY}) + target_link_libraries(${BINARY_NAME}-perf ${BINARY_NAME} ${PERF_LIB}) endif()