changeset 256:9dcb9354dc74

cmake: don't set build directories for interfaces
author David Demelier <markand@malikania.fr>
date Sat, 05 Dec 2020 14:20:57 +0100
parents d987a5fc4a3e
children 251de91394b7
files cmake/MolkoDefineLibrary.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmake/MolkoDefineLibrary.cmake	Thu Dec 03 14:56:07 2020 +0100
+++ b/cmake/MolkoDefineLibrary.cmake	Sat Dec 05 14:20:57 2020 +0100
@@ -152,10 +152,10 @@
 		if (NOT ${LIB_EXTERNAL})
 			molko_set_compiler_flags(${LIB_TARGET})
 		endif ()
+
+		molko_set_build_directories(${LIB_TARGET})
 	endif ()
 
-	molko_set_build_directories(${LIB_TARGET})
-
 	if (LIB_FOLDER)
 		set_target_properties(${LIB_TARGET} PROPERTIES FOLDER ${LIB_FOLDER})
 	endif ()