[CMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 22 Oct 2010 10:54:06 +0000 (10:54 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 22 Oct 2010 10:54:06 +0000 (10:54 +0000)
Make midimap msc friendly.

svn path=/branches/cmake-bringup/; revision=49217

dll/win32/winmm/midimap/CMakeLists.txt

index 5c4c771..91d911e 100644 (file)
@@ -5,7 +5,7 @@ spec2def(midimap ${CMAKE_CURRENT_SOURCE_DIR}/midimap.spec ${CMAKE_CURRENT_BINARY
 
 add_library(midimap SHARED midimap.c midimap.rc)
 
-set_target_properties(midimap PROPERTIES LINK_FLAGS "-Wl,-entry,0")
+set_entrypoint(midimap 0)
 
 target_link_libraries(midimap
     ${CMAKE_CURRENT_BINARY_DIR}/midimap.def