summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-07-24 22:22:42 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-07-24 22:22:42 +0600
commit2a6024fb20980ed9191d3e284d8d0458fef61e60 (patch)
tree6bef2604d00193b55c3582f8a9a3ed1d1be1e9a7
parent0e43391a0542524881c14ec62b919354bda27941 (diff)
downloadejdb-2a6024fb20980ed9191d3e284d8d0458fef61e60.tar.gz
ejdb-2a6024fb20980ed9191d3e284d8d0458fef61e60.tar.bz2
ejdb-2a6024fb20980ed9191d3e284d8d0458fef61e60.zip
Fixed #152
-rw-r--r--src/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f04e784..0f9f9f7 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -182,10 +182,8 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/myconf.h.in ${EJDB_GENERATED_DIR}/myc
file(GLOB EJDB_GENERATED_HDRS ${EJDB_GENERATED_DIR}/*.h)
list(APPEND ALL_HDRS ${EJDB_GENERATED_HDRS})
-if (NOT APPLE AND NOT BUILD_FRAMEWORK)
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libejdb.pc.in ${EJDB_GENERATED_DIR}/libejdb.pc @ONLY)
- install(FILES ${EJDB_GENERATED_DIR}/libejdb.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-endif(NOT APPLE AND NOT BUILD_FRAMEWORK)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libejdb.pc.in ${EJDB_GENERATED_DIR}/libejdb.pc @ONLY)
+install(FILES ${EJDB_GENERATED_DIR}/libejdb.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
foreach(MODULE IN LISTS MODULES)
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${MODULE}/CMakeLists.txt)