Fixed cmake to use find the proper xpm file in the xrc folder, also made the vbam core and fex library static to help with building on some platforms.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1416 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
8e9e59ea03
commit
95a976aa77
|
@ -313,6 +313,7 @@ ENDIF( ENABLE_FFMPEG )
|
|||
|
||||
ADD_LIBRARY (
|
||||
vbamcore
|
||||
STATIC
|
||||
${PROJECT_SRCS}
|
||||
${SRC_MAIN}
|
||||
${SRC_GBA}
|
||||
|
|
|
@ -38,5 +38,6 @@ INCLUDE_DIRECTORIES(
|
|||
|
||||
ADD_LIBRARY(
|
||||
fex
|
||||
STATIC
|
||||
${SRC_FEX}
|
||||
)
|
||||
|
|
|
@ -124,7 +124,7 @@ SET( SRC_WX
|
|||
cmdhandlers.h
|
||||
cmd-evtable.h
|
||||
#Icon File
|
||||
wxvbam.xpm
|
||||
xrc/wxvbam.xpm
|
||||
)
|
||||
|
||||
IF(ENABLE_OPENAL)
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
// ImageMagick makes the name wxvbam, but wx expects wxvbam_xpm
|
||||
#define wxvbam wxvbam_xpm
|
||||
const
|
||||
#include "wxvbam.xpm"
|
||||
#include "xrx/wxvbam.xpm"
|
||||
#undef wxvbam
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue