From 3aeebed2cffe6b4ac101d0ef6992912aa9e40f12 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 9 Nov 2015 18:21:54 +0000 Subject: [PATCH] postgres --- packages/myddas/postgres/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/myddas/postgres/CMakeLists.txt b/packages/myddas/postgres/CMakeLists.txt index 8c10601ca..af871d11c 100644 --- a/packages/myddas/postgres/CMakeLists.txt +++ b/packages/myddas/postgres/CMakeLists.txt @@ -13,12 +13,11 @@ macro_log_feature (POSTGRES_FOUND "postgres" "POSTGRES Driver for MYDDAS Data-Base Interface " "http://www.postgres.org" FALSE) -add_library (Yappostgres SHARED ${YAPPOSTGRES_SOURCES}) - if (POSTGRES_FOUND) # POSTGRES_INCLUDE_DIRECTORIES, where to find sql.h # POSTGRES_LIBRARIES, the libraries to link against to use POSTGRES # POSTGRES_FOUND. If false, you cannot build anything that requires Postgres. + add_library (Yappostgres SHARED ${YAPPOSTGRES_SOURCES}) add_definitions (-DMYDDAS_POSTGRES=1) target_link_libraries(Yappostgres libYap ${POSTGRES_LIBRARIES}) include_directories (${POSTGRES_INCLUDE_DIRECTORIES} ..) @@ -35,4 +34,3 @@ set_target_properties (Yappostgres PROPERTIES install(TARGETS Yappostgres LIBRARY DESTINATION ${libdir} ) -