Fix a link issue (symbol not found) on Windows.
This commit is contained in:
parent
970921f88b
commit
65550e6a6e
|
@ -16,6 +16,7 @@ set( BITMAP2COMPONENT_SRCS
|
||||||
bitmap2component.cpp
|
bitmap2component.cpp
|
||||||
bitmap2cmp_gui_base.cpp
|
bitmap2cmp_gui_base.cpp
|
||||||
bitmap2cmp_gui.cpp
|
bitmap2cmp_gui.cpp
|
||||||
|
../common/env_vars.cpp # needed on MSW to avoid a link issue (a symbol not found)
|
||||||
)
|
)
|
||||||
|
|
||||||
set_source_files_properties( ${CMAKE_SOURCE_DIR}/common/single_top.cpp PROPERTIES
|
set_source_files_properties( ${CMAKE_SOURCE_DIR}/common/single_top.cpp PROPERTIES
|
||||||
|
@ -50,7 +51,6 @@ add_executable( bitmap2component WIN32 MACOSX_BUNDLE
|
||||||
|
|
||||||
target_link_libraries( bitmap2component
|
target_link_libraries( bitmap2component
|
||||||
common
|
common
|
||||||
gal
|
|
||||||
${wxWidgets_LIBRARIES}
|
${wxWidgets_LIBRARIES}
|
||||||
potrace
|
potrace
|
||||||
)
|
)
|
||||||
|
|
|
@ -36,6 +36,7 @@ set( PCB_CALCULATOR_SRCS
|
||||||
attenuators/attenuator_classes.cpp
|
attenuators/attenuator_classes.cpp
|
||||||
dialogs/pcb_calculator_frame_base.cpp
|
dialogs/pcb_calculator_frame_base.cpp
|
||||||
dialogs/dialog_regulator_data_base.cpp
|
dialogs/dialog_regulator_data_base.cpp
|
||||||
|
../common/env_vars.cpp # needed on MSW to avoid a link issue (a symbol not found)
|
||||||
)
|
)
|
||||||
|
|
||||||
if( MINGW )
|
if( MINGW )
|
||||||
|
@ -68,8 +69,6 @@ target_link_libraries( pcb_calculator
|
||||||
#singletop # replaces common, giving us restrictive control and link warnings.
|
#singletop # replaces common, giving us restrictive control and link warnings.
|
||||||
# There's way too much crap coming in from common yet.
|
# There's way too much crap coming in from common yet.
|
||||||
common
|
common
|
||||||
gal
|
|
||||||
common
|
|
||||||
${wxWidgets_LIBRARIES}
|
${wxWidgets_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue