Install if not ASMJIT_EMBED

This commit is contained in:
xantares
2014-07-17 07:11:51 +00:00
parent 104e857b6c
commit f82fd80305

View File

@@ -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}") Set_Target_Properties(${in_name} PROPERTIES LINK_FLAGS "${ASMJIT_LFLAGS}")
# Install Instructions. # Install Instructions.
If(NOT ASMJIT_STATIC) If(NOT ASMJIT_EMBED)
Install(TARGETS ${in_name} DESTINATION lib) Install(TARGETS ${in_name} DESTINATION lib)
EndIf() EndIf()
@@ -298,7 +298,7 @@ EndIf()
# [AsmJit - Headers] # [AsmJit - Headers]
# ============================================================================= # =============================================================================
If(NOT ASMJIT_STATIC) If(NOT ASMJIT_EMBED)
ForEach(i ${ASMJIT_SRC}) ForEach(i ${ASMJIT_SRC})
Get_Filename_Component(path ${i} PATH) Get_Filename_Component(path ${i} PATH)
Get_Filename_Component(name ${i} NAME) Get_Filename_Component(name ${i} NAME)