diff options
author | Zeex <zeex@rocketmail.com> | 2020-05-30 20:31:12 +0600 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2020-05-30 20:31:12 +0600 |
commit | ced30fe38dc7ff380c6117b8c2a821cd96a03f0b (patch) | |
tree | 690df59e2dfc5b07c9a6ea6ae4f3defe10efd0d1 /tests | |
parent | 0a8ac4c6b08ce1c8361bb82c60fe9faa1db6b4d4 (diff) | |
download | subhook-ced30fe38dc7ff380c6117b8c2a821cd96a03f0b.zip subhook-ced30fe38dc7ff380c6117b8c2a821cd96a03f0b.tar.gz subhook-ced30fe38dc7ff380c6117b8c2a821cd96a03f0b.tar.bz2 |
Fix build errorv0.7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 454f410..41cbb24 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -10,12 +10,14 @@ set(asm_file foo_${BITS}.asm) if(CMAKE_SIZEOF_VOID_P EQUAL 8 AND NOT SUBHOOK_FORCE_32BIT) if(WIN32) set(asm_file foo_64_win.asm) - set(asm_obj_file ${asm_file}.obj) elseif(UNIX) set(asm_file foo_64_unix.asm) set(asm_obj_file ${asm_file}.o) endif() endif() +if(NOT asm_obj_file) + set(asm_obj_file ${asm_file}.obj) +endif() if(WIN32) set(asm_format "win${BITS}") |