File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ IF (NOT MSVC)
16
16
ENDIF (NOT MSVC )
17
17
18
18
IF (WIN32 )
19
- ADD_DEFINITIONS ("-DGRASS_EXPORT=__declspec(dllimport)" )
19
+ ADD_DEFINITIONS ("\" -DGRASS_EXPORT=__declspec(dllimport)\" " )
20
20
ELSE (WIN32 )
21
21
ADD_DEFINITIONS ("-DGRASS_EXPORT=" )
22
22
ENDIF (WIN32 )
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ INCLUDE_DIRECTORIES (
33
33
ADD_LIBRARY (qgisgrass SHARED ${GRASS_LIB_SRCS} )
34
34
35
35
IF (WIN32 )
36
- SET_TARGET_PROPERTIES (qgisgrass PROPERTIES COMPILE_FLAGS "-DGRASS_EXPORT=__declspec(dllexport)" )
36
+ SET_TARGET_PROPERTIES (qgisgrass PROPERTIES COMPILE_FLAGS "\" -DGRASS_EXPORT=__declspec(dllexport)\" " )
37
37
ELSE (WIN32 )
38
38
SET_TARGET_PROPERTIES (qgisgrass PROPERTIES COMPILE_FLAGS "-DGRASS_EXPORT=" )
39
39
ENDIF (WIN32 )
@@ -48,7 +48,7 @@ TARGET_LINK_LIBRARIES (qgisgrass
48
48
ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS} )
49
49
50
50
IF (WIN32 )
51
- SET_TARGET_PROPERTIES (grassprovider PROPERTIES COMPILE_FLAGS "-DGRASS_EXPORT=__declspec(dllimport)" )
51
+ SET_TARGET_PROPERTIES (grassprovider PROPERTIES COMPILE_FLAGS "\" -DGRASS_EXPORT=__declspec(dllimport)\" " )
52
52
ELSE (WIN32 )
53
53
SET_TARGET_PROPERTIES (grassprovider PROPERTIES COMPILE_FLAGS "-DGRASS_EXPORT=" )
54
54
ENDIF (WIN32 )
You can’t perform that action at this time.
0 commit comments