Merge pull request #41 from msys2/git_master
Emit the correct LIBNAME to .pc files
This commit is contained in:
commit
ef7d13461d
@ -389,6 +389,7 @@ IF(FREEGLUT_BUILD_STATIC_LIBS)
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
|
||||||
|
SET(LIBNAME freeglut)
|
||||||
IF(WIN32)
|
IF(WIN32)
|
||||||
LIST(APPEND LIBS winmm)
|
LIST(APPEND LIBS winmm)
|
||||||
IF(FREEGLUT_BUILD_SHARED_LIBS)
|
IF(FREEGLUT_BUILD_SHARED_LIBS)
|
||||||
@ -424,8 +425,6 @@ ELSE()
|
|||||||
ELSE()
|
ELSE()
|
||||||
IF(FREEGLUT_REPLACE_GLUT)
|
IF(FREEGLUT_REPLACE_GLUT)
|
||||||
SET(LIBNAME glut)
|
SET(LIBNAME glut)
|
||||||
ELSE()
|
|
||||||
SET(LIBNAME freeglut)
|
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
@ -563,7 +562,7 @@ ELSE()
|
|||||||
ENDIF()
|
ENDIF()
|
||||||
# Client applications need to define FreeGLUT GLES version to
|
# Client applications need to define FreeGLUT GLES version to
|
||||||
# bootstrap headers inclusion in freeglut_std.h:
|
# bootstrap headers inclusion in freeglut_std.h:
|
||||||
SET(PC_LIBNAME "glut")
|
SET(PC_LIBNAME ${LIBNAME})
|
||||||
SET(PC_FILENAME "freeglut.pc")
|
SET(PC_FILENAME "freeglut.pc")
|
||||||
IF(FREEGLUT_GLES)
|
IF(FREEGLUT_GLES)
|
||||||
SET(PC_CFLAGS "-DFREEGLUT_GLES")
|
SET(PC_CFLAGS "-DFREEGLUT_GLES")
|
||||||
|
Reference in New Issue
Block a user