From f82fd80305ecff29c8a65cf5a5e1b12c588f1171 Mon Sep 17 00:00:00 2001 From: xantares Date: Thu, 17 Jul 2014 07:11:51 +0000 Subject: [PATCH] Install if not ASMJIT_EMBED --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 971f060..3a51e44 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -204,7 +204,7 @@ Macro(AsmJit_AddLibrary in_name in_src in_deps in_cflags in_cflags_dbg in_cflags Set_Target_Properties(${in_name} PROPERTIES LINK_FLAGS "${ASMJIT_LFLAGS}") # Install Instructions. - If(NOT ASMJIT_STATIC) + If(NOT ASMJIT_EMBED) Install(TARGETS ${in_name} DESTINATION lib) EndIf() @@ -298,7 +298,7 @@ EndIf() # [AsmJit - Headers] # ============================================================================= -If(NOT ASMJIT_STATIC) +If(NOT ASMJIT_EMBED) ForEach(i ${ASMJIT_SRC}) Get_Filename_Component(path ${i} PATH) Get_Filename_Component(name ${i} NAME)