diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2e819743d615314a30c0ccf66d122e49fbd7f333..6c721e56cee6305c3362f2652c3b44e7ffcd086d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -152,7 +152,7 @@ if(APPLE)
   set(COREFOUNDATION_LIBRARY_SECURITY "-framework Security")
   TARGET_LINK_LIBRARIES(${QCA_LIB_NAME} ${COREFOUNDATION_LIBRARY} ${COREFOUNDATION_LIBRARY_SECURITY})
 
-  if(OSX_FRAMEWORK AND NOT USE_RELATIVE_PATHS)
+  if(NOT USE_RELATIVE_PATHS)
     set_target_properties(${QCA_LIB_NAME} PROPERTIES
                           INSTALL_NAME_DIR "${QCA_LIBRARY_INSTALL_DIR}"
     )

