mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05:59 -04:00
Set correct pkgconfig directory for DragonFly as well
This commit is contained in:
parent
195ce8161e
commit
cf486a024a
@ -187,9 +187,9 @@ IF(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
|||||||
|
|
||||||
# pkgconfig
|
# pkgconfig
|
||||||
SET(PKGCONFIGDIR lib/pkgconfig CACHE STRING "directory where to install pkg-config files")
|
SET(PKGCONFIGDIR lib/pkgconfig CACHE STRING "directory where to install pkg-config files")
|
||||||
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "DragonFly")
|
||||||
SET(PKGCONFIGDIR libdata/pkgconfig)
|
SET(PKGCONFIGDIR libdata/pkgconfig)
|
||||||
ENDIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
|
ENDIF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR CMAKE_SYSTEM_NAME MATCHES "DragonFly")
|
||||||
|
|
||||||
SET(SDL2_PKGCONFIG_CFLAGS "")
|
SET(SDL2_PKGCONFIG_CFLAGS "")
|
||||||
FOREACH(INCDIR IN LISTS SDL2_ALL_INCLUDE_DIRS)
|
FOREACH(INCDIR IN LISTS SDL2_ALL_INCLUDE_DIRS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user