mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[SDK] Add dummy import lib files for MSVC_IDE build,
to work around a CMake bug generating broken dll targets ROSBE-159
This commit is contained in:
parent
7119b13a28
commit
5730485a51
1 changed files with 7 additions and 0 deletions
|
@ -172,6 +172,13 @@ string(REPLACE "/implib:<TARGET_IMPLIB>" "" CMAKE_CXX_CREATE_SHARED_LIBRARY "${C
|
|||
string(REPLACE "/implib:<TARGET_IMPLIB>" "" CMAKE_C_CREATE_SHARED_MODULE "${CMAKE_C_CREATE_SHARED_MODULE}")
|
||||
string(REPLACE "/implib:<TARGET_IMPLIB>" "" CMAKE_CXX_CREATE_SHARED_MODULE "${CMAKE_CXX_CREATE_SHARED_MODULE}")
|
||||
|
||||
# HACK2: CMake lacks the ability to completely remove the 'implib' argument for solution files...
|
||||
# To work around this, we just let it create a dummy file
|
||||
if(MSVC_IDE)
|
||||
set(CMAKE_IMPORT_LIBRARY_SUFFIX ".dummy")
|
||||
endif()
|
||||
|
||||
|
||||
if(CMAKE_DISABLE_NINJA_DEPSLOG)
|
||||
set(cl_includes_flag "")
|
||||
else()
|
||||
|
|
Loading…
Reference in a new issue