diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-29 00:21:00 +0200 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2011-04-29 10:58:14 +0200 |
| commit | 6025860a61386bf767b29c3ec5fd0d31285f1056 (patch) | |
| tree | 53ebefea5a9377f932d6509ecc8ee138720731f4 /CMakeLists.txt | |
| parent | 6b52ca70b618b114209e6b099813d8842050d27a (diff) | |
Include and link physfs properly.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eaa81b..b825a06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -173,10 +173,12 @@ MESSAGE ( STATUS "<Loading PkgConfig>" ) FIND_PACKAGE ( PkgConfig REQUIRED ) IF ( WITH_PHYSFS ) FIND_PACKAGE ( PhysFS REQUIRED ) + INCLUDE_DIRECTORIES( ${PHYSFS_INCLUDE_DIR} ) ELSE ( WITH_PHYSFS ) pkg_check_modules(ZIP REQUIRED libzip) + INCLUDE_DIRECTORIES( ${ZIP_INCLUDE_DIRS} ) ENDIF ( WITH_PHYSFS ) -INCLUDE_DIRECTORIES( ${ZIP_INCLUDE_DIRS} ) + IF ( NOT BUILD_SERVER ) # cairo not needed until we start actually using the svg files #pkg_check_modules(CAIRO REQUIRED cairo>=1.8.8) |