Skip to content

Commit ee55596

Browse files
authored
Merge pull request slembcke#207 from msmshazan/msvc_2019_fix
Visual Studio 2019 cannot compile demo in C++ mode
2 parents edf83e5 + e7fe45e commit ee55596

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

demo/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ link_directories(${chipmunk_demos_library_dirs})
4343
add_executable(chipmunk_demos ${chipmunk_demos_source_files})
4444
target_link_libraries(chipmunk_demos ${chipmunk_demos_libraries})
4545

46-
# Tell MSVC to compile the code as C++.
47-
if(MSVC)
48-
set_source_files_properties(${chipmunk_demos_source_files} PROPERTIES LANGUAGE CXX)
49-
set_target_properties(chipmunk_demos PROPERTIES LINKER_LANGUAGE CXX)
50-
endif(MSVC)
51-
5246
if(INSTALL_DEMOS)
5347
install(TARGETS chipmunk_demos RUNTIME DESTINATION bin)
5448
endif(INSTALL_DEMOS)

0 commit comments

Comments
 (0)