build: remove incorrect space between -FI flag and path
This commit is contained in:
parent
0c7098fb47
commit
0b01b17819
@ -41,7 +41,7 @@ foreach(HEADER_SOURCE ${SOURCES_INCLUDE})
|
||||
add_library(${DLL_NAME} SHARED ${HEADER_SOURCE} ${SOURCES_SRC})
|
||||
target_include_directories(${DLL_NAME} PUBLIC include)
|
||||
if(MSVC)
|
||||
target_compile_options(${DLL_NAME} PUBLIC "-FI ${HEADER_SOURCE}")
|
||||
target_compile_options(${DLL_NAME} PUBLIC "-FI${HEADER_SOURCE}")
|
||||
target_compile_definitions(${DLL_NAME} PUBLIC "-D${HEADER_NAME_UC}_EXTERN=__declspec(dllexport)" )
|
||||
else()
|
||||
target_compile_options(${DLL_NAME} PUBLIC -include ${HEADER_SOURCE} -fvisibility=hidden)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user