Skip to content

Commit 147090c

Browse files
AMDmi3sezero
authored andcommitted
Remove broken FreeBSD specific condition
There's no need to set FreeBSD-specific pkgconfig path as FreeBSD handles this by itself by moving the file into right location. Also the condition is always false as CMake does not define `FREEBSD` by default.
1 parent f80947a commit 147090c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,7 @@ if(SDLSOUND_BUILD_TEST)
296296
endif()
297297
endif()
298298

299-
if(FREEBSD)
300-
set(PKGCONFIG_INSTALLDIR "libdata/pkgconfig")
301-
else()
302-
set(PKGCONFIG_INSTALLDIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
303-
endif()
299+
set(PKGCONFIG_INSTALLDIR "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
304300

305301
if(WIN32 AND NOT MINGW)
306302
set(SDLSOUND_INSTALL_CMAKEDIR_DEFAULT "cmake")

0 commit comments

Comments
 (0)