ENH: check for compile flags and add back c flag to unix generator
This commit is contained in:
parent
de93907bdd
commit
2e70c5094f
|
@ -136,6 +136,7 @@ int main()
|
|||
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
|
||||
#else
|
||||
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
|
||||
#endif
|
||||
// ----------------------------------------------------------------------
|
||||
// Test ADD_DEFINITIONS
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -136,6 +136,7 @@ int main()
|
|||
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
|
||||
#else
|
||||
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
|
||||
#endif
|
||||
// ----------------------------------------------------------------------
|
||||
// Test ADD_DEFINITIONS
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
|
|
@ -136,6 +136,7 @@ int main()
|
|||
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
|
||||
#else
|
||||
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
|
||||
#endif
|
||||
// ----------------------------------------------------------------------
|
||||
// Test ADD_DEFINITIONS
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue