mirror of https://github.com/axmolengine/axmol.git
Update CMakeLists.txt
This commit is contained in:
parent
6070d416ac
commit
99e2e4ba4d
|
@ -22,9 +22,13 @@ macro(set_openssl_sub_target sub_target_name sub_lib_name)
|
|||
|
||||
set(imp_lib_name "")
|
||||
if(WINDOWS)
|
||||
set(impl_lib_suffix "")
|
||||
if(WIN64)
|
||||
set(impl_lib_suffix "-{ARCH_ALIAS}")
|
||||
endif()
|
||||
set(imp_lib_name "${platform_spec_path}/lib${sub_lib_name}.lib")
|
||||
set_target_properties(${sub_target_name} PROPERTIES
|
||||
IMPORTED_LOCATION "${platform_spec_path}/lib${sub_lib_name}-1_1.dll"
|
||||
IMPORTED_LOCATION "${platform_spec_path}/lib${sub_lib_name}-1_1${impl_lib_suffix}.dll"
|
||||
IMPORTED_IMPLIB "${platform_spec_path}/lib${sub_lib_name}.lib"
|
||||
)
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue