Make sure the mingw rc gets the build dir include
This commit is contained in:
parent
ff23f4324a
commit
75c0dc7454
|
@ -323,6 +323,8 @@ if( CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
|
|||
|
||||
if( MINGW )
|
||||
list(APPEND mingw_resource_compiler_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/resources/msw/ )
|
||||
# include dir to allow getting the version header
|
||||
list(APPEND mingw_resource_compiler_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/ )
|
||||
list(APPEND mingw_resource_compiler_DEFINES KICAD_BUILD_ARCH=${KICAD_BUILD_ARCH} )
|
||||
if( KICAD_WIN32_DPI_AWARE )
|
||||
list(APPEND mingw_resource_compiler_DEFINES KICAD_WIN32_DPI_AWARE=1 )
|
||||
|
|
Loading…
Reference in New Issue