From 35c1d66fa88800f8bcc0bf5b6bf61b5a89663962 Mon Sep 17 00:00:00 2001 From: Michael Wild Date: Wed, 1 Feb 2012 14:19:47 +0100 Subject: [PATCH] FIX: Logic for not setting {SO,}VERSION for BUNDLEs Fixes b543c9e340f01526dadfe7dc3b655c3446f20c9f. Signed-off-by: Michael Wild --- CMake/FOAMUtilities.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMake/FOAMUtilities.cmake b/CMake/FOAMUtilities.cmake index 30ee36561..151b9a932 100644 --- a/CMake/FOAMUtilities.cmake +++ b/CMake/FOAMUtilities.cmake @@ -153,7 +153,7 @@ function(foam_add_library name) set_target_properties(${name} PROPERTIES FRAMEWORK ${build_framework} ) - if(NOT APPLE OR NOT lib_type STREQUAL MODULE) + if(NOT APPLE AND NOT lib_type STREQUAL MODULE) if(DEFINED FOAM_VERSION_FULL) set_target_properties(${name} PROPERTIES VERSION ${FOAM_VERSION_FULL}) -- 2.11.4.GIT