From 0ecb34b8505f8bcb065b56dbc0ec489f977c10ae Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 18 Nov 2008 03:24:49 -0800 Subject: Non-cross-compiled DLLs shouldn't have lib prefixed --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 26e6f79c..44970e7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -344,6 +344,9 @@ ENDIF() ADD_LIBRARY(${LIBNAME} ${LIBTYPE} ${OPENAL_OBJS} ${ALC_OBJS}) SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES VERSION ${LIB_VERSION} SOVERSION ${LIB_MAJOR_VERSION}) +IF(WIN32) + SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "") +ENDIF() IF(XCOMPILEWIN32) SET_TARGET_PROPERTIES(${LIBNAME} PROPERTIES PREFIX "" SUFFIX .dll) IF(EXAMPLES) -- cgit v1.2.3