diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-09-30 03:26:23 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-09-30 03:26:23 +0200 |
commit | e45b444242104e557f1bce14e9c11e3792bbe41f (patch) | |
tree | f35f8db020bcd0b9a20b4db0575e93369e5176f1 /depends/pack200/CMakeLists.txt | |
parent | 8b0f8b9e597eb50ff9323037fd5fa1b9e330c467 (diff) | |
download | MultiMC-e45b444242104e557f1bce14e9c11e3792bbe41f.tar MultiMC-e45b444242104e557f1bce14e9c11e3792bbe41f.tar.gz MultiMC-e45b444242104e557f1bce14e9c11e3792bbe41f.tar.lz MultiMC-e45b444242104e557f1bce14e9c11e3792bbe41f.tar.xz MultiMC-e45b444242104e557f1bce14e9c11e3792bbe41f.zip |
Add tweaks to make things build on windows
Diffstat (limited to 'depends/pack200/CMakeLists.txt')
-rw-r--r-- | depends/pack200/CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/depends/pack200/CMakeLists.txt b/depends/pack200/CMakeLists.txt index 3e41d378..d71f6535 100644 --- a/depends/pack200/CMakeLists.txt +++ b/depends/pack200/CMakeLists.txt @@ -37,9 +37,13 @@ src/zip.cpp src/zip.h ) -SET(PACK200_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include" PARENT_SCOPE) -include_directories(include) +set(CMAKE_POSITION_INDEPENDENT_CODE ON) +SET(PACK200_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/include" PARENT_SCOPE) +include_directories( + include + ${ZLIB_INCLUDE_DIRS} +) add_library(unpack200 STATIC ${PACK200_SRC}) IF(UNIX) |